<div class="content">

	<?php if (is_array($message)) : ?>
	<div class="messages <?php echo $message['class']; ?>"><?php echo $message['text']; ?></div>
	<?php endif; ?>

	<div class="page-description prefix_1 grid_5 suffix_3">
		This page retrieves authors' tweets from Twitter and loads them into the local database. Use cron (or other scheduler) to hit this page on a regular basis to assure all author tweets get imported.
	</div>
	
	<?php if (sizeof($newTweets) > 0 ) : ?>
	
	<h2 class="prefix_1 grid_5 suffix_3"><?php echo sizeof($newTweets); ?> tweets imported</h2>
	
	<?php foreach ($newTweets as $tweet) : ?>
	
	<p class="prefix_1 grid_5 suffix_3">Imported Tweet ID <strong><?php echo $tweet->getTweetId(); ?></strong>:<br />
	<em><?php echo $tweet->getContent(); ?></em></p>
	
	<?php endforeach; ?>
	
	<?php else : ?>
	
	<h2 class="prefix_1 grid_5 suffix_3">No new tweets.</h2>
	
	<?php endif; ?>

</div>
<?php /* clickframes::version=3956141715::clickframes */ ?>